'use strict';

const Controller = require('../core/base_controller');

class ShareController extends Controller {
    async getList() {
        this.tc(await this.ctx.service.share.getList());
    }
    //删除
    async del() {
        this.tc(await this.ctx.service.room.del());
    }
    //上传图片
    async upload() {
        this.tc(await this.ctx.service.share.upload())
    }
    //添加楼市圈
    async addShare() {
        this.tc(await this.ctx.service.share.addShare());
    }
}

module.exports = ShareController;
